﻿<%@ Page Language="C#" MasterPageFile="~/parents/pmaster.Master" AutoEventWireup="true" CodeBehind="PFeedback.aspx.cs" Inherits="ESCHOOL.parents.WebForm6" Title="Parent Feedback" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style4
        {
            height: 26px;
        }
        .style5
        {
            width: 203px;
        }
        .style6
        {
            height: 26px;
            width: 203px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

    <asp:Panel ID="Panel1" runat="server">
        <table class="style1">
            <tr>
                <td class="style5">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style6">
                    To</td>
                <td class="style4">
                    <asp:DropDownList ID="DropDownList1" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    Feedback Message</td>
                <td>
                    <asp:TextBox ID="tbmsg" runat="server" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tbmsg" ErrorMessage="Enter your message"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    <asp:Button ID="btnsend" runat="server" onclick="btnsend_Click" Text="Send" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </asp:Panel>
    <p>
        <br />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Width="325px" AllowPaging="True" 
            onpageindexchanging="GridView1_PageIndexChanging">
            <Columns>
                <asp:BoundField DataField="teacher_name" HeaderText="Teacher Name" />
                <asp:BoundField DataField="feedback" HeaderText="Feedback" />
            </Columns>
        </asp:GridView>
    </p>

</asp:Content>

